package com.liuhung.ash.security.entity;

import java.util.List;
import com.liuhung.base.entity.BaseEntity;
/**
 * 
 * <br>
 * <b>功能：</b>OrganEntity<br>
 */
public class Organ extends BaseEntity {
	/**
	 * 
	 */
	private static final long serialVersionUID = -4359419801300625183L;
	private java.lang.Integer id;//   主键	private java.lang.String name;//   	private java.lang.Integer pid;//   父组织	private java.lang.String remark;//   说明
	
	private Organ parent;
	private List<Organ> childOrgan; //子组织
	private List<Users> users; //所属用户
	private List<Permission> permissions; //组织拥有的权限	public java.lang.Integer getId() {	    return this.id;	}	public void setId(java.lang.Integer id) {	    this.id=id;	}	public java.lang.String getName() {	    return this.name;	}	public void setName(java.lang.String name) {	    this.name=name;	}	public java.lang.Integer getPid() {	    return this.pid;	}	public void setPid(java.lang.Integer pid) {	    this.pid=pid;	}	public java.lang.String getRemark() {	    return this.remark;	}	public void setRemark(java.lang.String remark) {	    this.remark=remark;	}
	public List<Organ> getChildOrgan() {
		return childOrgan;
	}
	public void setChildOrgan(List<Organ> childOrgan) {
		this.childOrgan = childOrgan;
	}
	public List<Users> getUsers() {
		return users;
	}
	public void setUsers(List<Users> users) {
		this.users = users;
	}
	public List<Permission> getPermissions() {
		return permissions;
	}
	public void setPermissions(List<Permission> permissions) {
		this.permissions = permissions;
	}
	public Organ getParent() {
		return parent;
	}
	public void setParent(Organ parent) {
		this.parent = parent;
	}
}

